package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 店铺参数
 * @author DEREK
 */
@Data
@ApiModel("店铺更新参数")
public class ShopUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "店铺名称")
    private String name;

    @ApiModelProperty(value = "店铺logo")
    private String logo;

    @ApiModelProperty(value = "信用分")
    private Integer creditScore;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "粉丝")
    private Integer fans;

    @ApiModelProperty(value = "店铺简介")
    private String remark;

    @ApiModelProperty(value = "扩展字段")
    private String extend;

    @ApiModelProperty(value = "扩展字段2")
    private String extend2;

    @ApiModelProperty(value = "店铺状态 1=正常 2=关闭")
    private Integer status;
    
}
